package util

import "github.com/cheekybits/genny/generic"

// ValueOneType ref type1
type ValueOneType generic.Type

// ValueTwoType ref type2
// type ValueTwoType generic.Type

// ValueOneTypeToInterfaceSlice converts []ValueOneType to []interface{}
// (use in variable-length arguments)
func ValueOneTypeToInterfaceSlice(slice []ValueOneType) []interface{} {
	to := make([]interface{}, len(slice))
	for i, val := range slice {
		to[i] = val
	}
	return to
}
